﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace StudyGeneric
{
    class Program
    {
        static void Main(string[] args)
        {
            List<Class1> GenelicTest = new List<Class1>();
            Class1 temp = new Class1();
            temp.TestInt = 3;
            GenelicTest.Add(temp);
            temp.TestInt = 7;
            GenelicTest.Add(temp);
            temp.TestInt = 9;
            GenelicTest.Add(temp);
            temp.TestInt = 12;
            GenelicTest.Add(temp);
            foreach (Class1 TP in GenelicTest)
            {
                Trace.WriteLine(TP.TestInt);
            }
        }
    }
}
